package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻内容对象 wawebnews
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class Wawebnews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内部编号 */
    private Long id;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String title;

    /** 新闻小图标 */
    private String icon;

    /** 新闻内容 */
    @Excel(name = "新闻内容")
    private String content;

    /** 目录编码 */
    @Excel(name = "目录编码")
    private String pid;

    /** 所属新闻分类 */
    private Long newstype;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private String iftop;

    /** 是否重要 */
    @Excel(name = "是否重要")
    private Long ifimportant;

    /** 新闻简介 */
    @Excel(name = "新闻简介")
    private String brief;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 新闻来源 */
    @Excel(name = "新闻来源")
    private String srcurl;

    /** 阅读数 */
    @Excel(name = "阅读数")
    private Long clickcnt;

    /** 分享数 */
    @Excel(name = "分享数")
    private Long sharecnt;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestr;

    /** 可见部门 */
    @Excel(name = "可见部门")
    private String viewdept;

    /** 新闻权限 */
    @Excel(name = "新闻权限")
    private String limits;

    /** 显示模式 */
    @Excel(name = "显示模式")
    private Integer displaymode;

    /** 状态 */
    @Excel(name = "状态")
    private Integer AuditStatus;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long UserID;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date OperTime;

    /**  */
    @Excel(name = "")
    private String fujian;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date EffDate;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ExpDate;

    /**  */
    @Excel(name = "")
    private Long ZanCnt;

    /**  */
    @Excel(name = "")
    private BigDecimal price;

    /**  */
    @Excel(name = "")
    private Long Sort;

    /**  */
    @Excel(name = "")
    private Long DjWebPid;

    /**  */
    @Excel(name = "")
    private String Keyword;

    /**  */
    @Excel(name = "")
    private String 时长;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPid(String pid) 
    {
        this.pid = pid;
    }

    public String getPid() 
    {
        return pid;
    }
    public void setNewstype(Long newstype) 
    {
        this.newstype = newstype;
    }

    public Long getNewstype() 
    {
        return newstype;
    }
    public void setIftop(String iftop) 
    {
        this.iftop = iftop;
    }

    public String getIftop() 
    {
        return iftop;
    }
    public void setIfimportant(Long ifimportant) 
    {
        this.ifimportant = ifimportant;
    }

    public Long getIfimportant() 
    {
        return ifimportant;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setSrcurl(String srcurl) 
    {
        this.srcurl = srcurl;
    }

    public String getSrcurl() 
    {
        return srcurl;
    }
    public void setClickcnt(Long clickcnt) 
    {
        this.clickcnt = clickcnt;
    }

    public Long getClickcnt() 
    {
        return clickcnt;
    }
    public void setSharecnt(Long sharecnt) 
    {
        this.sharecnt = sharecnt;
    }

    public Long getSharecnt() 
    {
        return sharecnt;
    }
    public void setTimestr(Date timestr) 
    {
        this.timestr = timestr;
    }

    public Date getTimestr() 
    {
        return timestr;
    }
    public void setViewdept(String viewdept) 
    {
        this.viewdept = viewdept;
    }

    public String getViewdept() 
    {
        return viewdept;
    }
    public void setLimits(String limits) 
    {
        this.limits = limits;
    }

    public String getLimits() 
    {
        return limits;
    }
    public void setDisplaymode(Integer displaymode) 
    {
        this.displaymode = displaymode;
    }

    public Integer getDisplaymode() 
    {
        return displaymode;
    }
    public void setAuditStatus(Integer AuditStatus) 
    {
        this.AuditStatus = AuditStatus;
    }

    public Integer getAuditStatus() 
    {
        return AuditStatus;
    }
    public void setUserID(Long UserID) 
    {
        this.UserID = UserID;
    }

    public Long getUserID() 
    {
        return UserID;
    }
    public void setOperTime(Date OperTime) 
    {
        this.OperTime = OperTime;
    }

    public Date getOperTime() 
    {
        return OperTime;
    }
    public void setFujian(String fujian) 
    {
        this.fujian = fujian;
    }

    public String getFujian() 
    {
        return fujian;
    }
    public void setEffDate(Date EffDate) 
    {
        this.EffDate = EffDate;
    }

    public Date getEffDate() 
    {
        return EffDate;
    }
    public void setExpDate(Date ExpDate) 
    {
        this.ExpDate = ExpDate;
    }

    public Date getExpDate() 
    {
        return ExpDate;
    }
    public void setZanCnt(Long ZanCnt) 
    {
        this.ZanCnt = ZanCnt;
    }

    public Long getZanCnt() 
    {
        return ZanCnt;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setSort(Long Sort) 
    {
        this.Sort = Sort;
    }

    public Long getSort() 
    {
        return Sort;
    }
    public void setDjWebPid(Long DjWebPid) 
    {
        this.DjWebPid = DjWebPid;
    }

    public Long getDjWebPid() 
    {
        return DjWebPid;
    }
    public void setKeyword(String Keyword) 
    {
        this.Keyword = Keyword;
    }

    public String getKeyword() 
    {
        return Keyword;
    }
    public void set时长(String 时长) 
    {
        this.时长 = 时长;
    }

    public String get时长() 
    {
        return 时长;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("icon", getIcon())
            .append("content", getContent())
            .append("pid", getPid())
            .append("newstype", getNewstype())
            .append("iftop", getIftop())
            .append("ifimportant", getIfimportant())
            .append("brief", getBrief())
            .append("author", getAuthor())
            .append("srcurl", getSrcurl())
            .append("clickcnt", getClickcnt())
            .append("sharecnt", getSharecnt())
            .append("timestr", getTimestr())
            .append("viewdept", getViewdept())
            .append("limits", getLimits())
            .append("displaymode", getDisplaymode())
            .append("AuditStatus", getAuditStatus())
            .append("UserID", getUserID())
            .append("OperTime", getOperTime())
            .append("fujian", getFujian())
            .append("EffDate", getEffDate())
            .append("ExpDate", getExpDate())
            .append("ZanCnt", getZanCnt())
            .append("price", getPrice())
            .append("Sort", getSort())
            .append("DjWebPid", getDjWebPid())
            .append("Keyword", getKeyword())
            .append("时长", get时长())
            .toString();
    }
}
